<script src='http://shjs.sourceforge.net/lang/sh_javascript.js'></script>
<script src='http://shjs.sourceforge.net/sh_main.js'></script>
<link rel="stylesheet" href="style/style.css">
<link rel='stylesheet' type='text/css' href='style/code.css'>

<body onload="sh_highlightDocument('sh', 'javascript');">
<div id='supercontainer' ><title>
Learning Exercise
</title>
<div id='main'>
<h1 id="anymote-learning-exercise">Anymote Learning Exercise</h1>
<h2 id="goal">Goal</h2>
<ul>
<li>The goal of this exercise is to help you learn how to make Chrome Extensions that communicate with Google TV via Anymote.</li>
<li>You will learn to use the NPAPI plugin library for Google TV Chrome Extensions.</li>
</ul>
<p>Here is a list of the functions in that library.</p>
<center>
<img src="images/functions.png" width="80%" alt="Plugin functions" title="Plugin functions">
</center>

<h2 id="overview">Overview</h2>
<p>During this learning exercise you will practice using the NPAPI library for communication with Google TV from a Chrome Extension. You will start with the AnymoteLearningExercise extension and add pieces until it is the same as the AnymoteExample extension.</p>
<center>    
<img src="images/extension_missing_pieces.png" width="95%" alt="Extensions" title="Extensions overview">
</center>

<p>The AnymoteExample is a fully functional extension that will perform basic tasks on a Google TV. The AnymoteLearningExercise is the exact same extension as the AnymoteExample. However, the AnymoteLearningExercise is non-functional because it is missing critical pieces that you will add in a series of exercises.</p>
<div style="margin-left: 40px;">
<h4 id="exercise-1.-installing-the-chrome-extensions">Exercise 1. <a href="exercises/install_extensions.html">Installing the Chrome Extensions</a></h4>
<h4 id="exercise-2.-initialize-the-gtvremote-plumbing">Exercise 2. <a href="exercises/initialize_gtvremote.html">Initialize the GTVRemote plumbing</a></h4>
<h4 id="exercise-3.-discovery-client">Exercise 3. <a href="exercises/discovery.html">Discovery client</a></h4>
<h4 id="exercise-4.-pairing-session">Exercise 4. <a href="exercises/pairing.html">Pairing session</a></h4>
<h4 id="exercise-5.-starting-an-anymote-session">Exercise 5. <a href="exercises/starting_anymote.html">Starting an Anymote session</a></h4>
<h4 id="exercise-6.-using-the-anymote-session">Exercise 6. <a href="exercises/using_anymote.html">Using the Anymote session</a></h4>
<h4 id="next-steps"><a href="exercises/next_steps.html">Next steps</a></h4>
</div>
</div>

